package base.cglib;

import com.itheima.service.UserService;
import com.itheima.service.impl.UserServiceImpl;

/**
 * @program: Spring_day01_01_IOC入门程序
 * @description:
 * @author: xuejingjing
 * @create: 2021-08-06 09:17
 **/
public class App {
    public static void main(String[] args) {
        //创建一个UserService代理对象，传一个被代理的类
        UserService userServiceCglibProxy = UserServiceCglibProxy.createUserServiceCglibProxy(UserServiceImpl.class);
        userServiceCglibProxy.save();
    }
}
